import request from '@/utils/request'

// 查询用户列表
export function getFormDataCount(query) {
  return request({
    url: '/jizi/reportform/getFormDataCount.do',
    method: 'get',
    params: query
  })
}

// 查询七日用户注册
export function getSevenDayRegisterDataCount(query) {
  return request({
    url: '/system/indexPageData/sevenDaysRegisterCount',
    method: 'get',
    params: query
  })
}

// 查询七日活跃度
export function getSevenDayActiveDataCount(query) {
  return request({
    url: '/system/indexPageData/sevenDaysActiveCount',
    method: 'get',
    params: query
  })
}

// 查询设备数量
export function getSevenDayDeviceDataCount(query) {
  return request({
    url: '/system/indexPageData/sevenDeviceCount',
    method: 'get',
    params: query
  })
}

// 查询10款热门设备
export function getTopTenDeviceCount(query) {
  return request({
    url: '/system/indexPageData/topTenDeviceChartCount',
    method: 'get',
    params: query
  })
}

// 查询网关地理位置
export function getGatewayGeoChartCount(query) {
  return request({
    url: '/system/indexPageData/gatewayGeoChart',
    method: 'get',
    params: query
  })
}


